package com.example.drive.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

const val DrivingAnswerBean_tableName = "DrivingAnswerBean"

@Entity(tableName = DrivingAnswerBean_tableName)
class DrivingAnswerBean {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "id", typeAffinity = ColumnInfo.INTEGER)
    var id: Int? = 0 // 题次

    @ColumnInfo(name = "myAnswer", typeAffinity = ColumnInfo.TEXT)
    var myAnswer: String? = null // 我的回答
}